package uutalk.netcloud.talk.base.mqtt.model;

/**
 * ClassName: Subscription
 * Desc:
 * Created by zhiw on 2017/3/23.
 */

public class Subscription  {

    private String clientId;

    private String topic;

    private
    @QoSConstant.QoS
    int QoS;

    private String displayName;

    private EmqMessage message;

    public Subscription() {
    }

    public Subscription(String topic, int qos) {
        this.topic = topic;
        QoS = qos;
    }

    public String getClientId() {
        return clientId;
    }

    public void setClientId(String clientId) {
        this.clientId = clientId;
    }

    public String getTopic() {
        return topic;
    }

    public void setTopic(String topic) {
        this.topic = topic;
    }

    public int getQoS() {
        return QoS;
    }

    public void setQoS(int qoS) {
        QoS = qoS;
    }

    public String getDisplayName() {
        return displayName;
    }

    public void setDisplayName(String displayName) {
        this.displayName = displayName;
    }

    public EmqMessage getMessage() {
        return message;
    }

    public void setMessage(EmqMessage message) {
        this.message = message;
    }



}
